Online IVR Tutorial $status = wave.Convert ("<Source Filename >","<Codec>","[Target Filename]")
Parameters Return Value Remark Example
  1. $status = wave.convert("welcome.wav", "MP3", "welcome_mp3.mp3")
    msgbox($status)
  • Welcome.wav is converted into MP3 format and $status returns 1.
   2.  $status = wave.convert("welcome.wav", "GSM", "welcome_GSM.wav")
        msgbox($status)
  • Welcome.wav is converted into GSM format and $status returns 1.